package com.sumer.psychology.space.infrastructure.persistence.mongo.friend;

import com.sumer.psychology.space.domain.FriendMessageType;

/**
 * 朋友申请
 */
public class FriendRequestMessageRepository extends MongoFriendMessageRepository {
    @Override
    public void add(String data) {
        add(data, "from", "to", "requestWords");
    }

    @Override
    protected FriendMessageType friendMessageType() {
        return FriendMessageType.REQUEST;
    }
}
